import {createRouter,createWebHistory} from 'vue-router';
const routes =[
    {path:"/", name:'Index', title:'首页', component:()=>import("../views/1_index.vue") },
    {path:"/platUpdates", name:'platUpdates', title:'平台动态', component:()=>import("../views/2_PlatUpdates.vue") },
    {path: '/platUpdatesDetail/:id', name: 'DetailPage', title:'平台动态详情', component: ()=>import("../views/2_PlatUpdatesDetail.vue")},
    {path:"/zcfg", name:'zcfg', title:'政策法规', component:()=>import("../views/3_zcfg.vue") },
    {path:"/zcfgDetail/:id", name:'zcfgdetail', title:'政策法规详情', component:()=>import("../views/3_zcfgDetail.vue")},
    {path: '/Profile', name: 'Profile', title:'个人中心', component:()=>import("../views/profile.vue")},
    {path: '/information', name: 'Information', title:'信息公告', component:()=>import("../views/Information.vue")},
    {path: '/informationDetail/:id', name: 'InformationDetail', title:'信息公告', component:()=>import("../views/InformationDetail.vue")},
    {path:"/ReportViolationPage",          
     name:'ReportViolationPage',
     title:'违规投诉',
     component:()=>import("../views/6_ReportViolationPage.vue")
    },
    {path:"/ViolationComplaintDetails",          
     name:'ViolationComplaintDetails',
     title:'违规投诉详情页',
     component:()=>import("../views/7_ViolationComplaintDetails.vue")
    },
    {path:"/EnterpriseInfo",          
     name:'EnterpriseInfo',
     title:'企业信息',
     component:()=>import("../views/11_EnterpriseInfo.vue")
    },
    {path:"/Bid",          
     name:'Bid',
     title:'参与投标',
     component:()=>import("../views/12_Bid.vue")
    },
    {path:"/MyBid",          
     name:'MyBid',
     title:'我的投标',
     component:()=>import("../views/13_MyBid.vue")
    },
    {path:"/SubmitBid",          
     name:'SubmitBid',
     title:'提交投标',
     component:()=>import("../views/14_SubmitBid.vue")
    },  
];
const router=createRouter({
        history:createWebHistory(),
        routes
})
export default router;